package com.voyage.common.constant;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 *@Author: kangb on 2021/10/9 21:24
 *@param:
 *@return:
 *@Description:  分页查询参数
 */
@Data
@NoArgsConstructor
public class PageMO<T> {


    @ApiModelProperty(value = "当前页，默认0")
    private int current = 0;

    @ApiModelProperty("页面大小，默认10")
    private int size = 10;

    @ApiModelProperty("查询条件")
    private T data;
}
